home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGBLER
/
ASMCODE3.LZH
/
FREE.DOC
< prev
next >
Wrap
Text File
|
1985-05-11
|
1KB
|
44 lines
FREE.COM is a small machine language routine that reports the free
space on a given disk. Without any parameters it displays the space on
the default disk, and with parameters it displays the space on the
disks specified. A non-drivspec parameter will cause FREE to exit,
ignoring the rest of the command line.
Examples:
A>free
Drive A: xxxxx bytes free
A>free a: b:
Drive A: xxxxx bytes free
Drive B: xxxxx bytes free
A>free a: b: c:
Drive A: xxxxx bytes free
Drive B: xxxxx bytes free
Drive C: invalid (unless you happen to have a drive c:)
A>free a: hi! b:
Drive A: xxxxx bytes free
A>free foobar
A>
This routine is useful in checking the disk space on multiple drives
or when you don't feel like sitting through a DIR or CHKDSK. When put
on a RAMDISK, this utility is very helpful as it will act almost as
fast as an internal command.
There are a few useful routines in the assembler listing such as
convert doubleword to decimal and parse DOS command line.
Please report any bugs to Alan Bishop - CIS 72405,647